// parser/parser.h
// Written by, Sohail Qayum Malik[sqm@cyberian.pk]

#include <fstream>
#include "./../argsvCPP/argsv/exception.hh"

#ifndef PARSER_H
#define PARSER_H

int parser(const char *, int (*)(int, ...), unsigned int) throw(args_exception);

#define		PARSER_DOS_HEADER			 0
#define		PARSER_DOS_STUB				 1
#define		PARSER_DOS_HEADER_DUMP		 2
#define		PARSER_IMAGE_NT_HEADERS		 3
#define		PARSER_IMAGE_SECTION_HEADERS 4

#endif;

